<?php
// +---------------------------------------------------------------------+
// | OneBase    | [ WE CAN DO IT JUST THINK ]                            |
// +---------------------------------------------------------------------+
// | Licensed   | http://www.apache.org/licenses/LICENSE-2.0 )           |
// +---------------------------------------------------------------------+
// | Author     | Bigotry <3162875@qq.com>                               |
// +---------------------------------------------------------------------+
// | Repository | https://gitee.com/Bigotry/OneBase                      |
// +---------------------------------------------------------------------+

namespace app\api\controller;



/**
 * Work控制器
 */
class Work extends ApiBase
{



    /**
     *添加工单接口
     */
    public function work_order_add(){
        return $this->apiReturn($this->logicWork->work_order_add($this->param));
    }

    /**
     *添加工单回复接口
     */
    public function work_comment_order_add(){
        return $this->apiReturn($this->logicWork->work_comment_order_add($this->param));
    }

    /**
     *工单列表接口
     */
    public function work_order_list(){
        return $this->apiReturn($this->logicWork->work_order_list($this->param));
    }

    /**
     *工单详情接口
     */
    public function work_order_detail(){
        return $this->apiReturn($this->logicWork->work_order_detail($this->param));
    }


    /**
     *OTC交易列表接口
     */
    public function my_trade_list(){
        return $this->apiReturn($this->logicWork->my_trade_list($this->param));
    }





}
